package io.bdmc.modules.sys.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableId;
//import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 系统用户Token
 */
@Data
@EqualsAndHashCode(callSuper = false)
//@TableName(value = "sys_user_token") // 指定表名
public class SysUserToken extends Model<SysUserToken> {
	private static final long serialVersionUID = 1L;
	
	//用户ID
	@TableId(value = "user_id")
	private Long userId;
	//token
	private String token;
	//过期时间
	private Date expireTime;
	//更新时间
	private Date updateTime;

}
